package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;

import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pda根据分类生成的临时物料
 * @Author: jeecg-boot
 * @Date:   2020-10-17
 * @Version: V1.0
 */
@Data
@TableName("bas_material_temp")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bas_material_temp对象", description="pda根据分类生成的临时物料")
public class BasMaterialTemp implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**编码*/
	@Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private java.lang.String code;
	/**分类ID*/
	@Excel(name = "分类ID", width = 15)
    @ApiModelProperty(value = "分类ID")
    private java.lang.String categoryId;
	/**宽*/
	@Excel(name = "宽", width = 15)
    @ApiModelProperty(value = "宽")
    private java.math.BigDecimal width;
	/**长*/
	@Excel(name = "长", width = 15)
    @ApiModelProperty(value = "长")
    private java.math.BigDecimal length;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private java.lang.String model;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private java.lang.String unitId;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private java.lang.String supplierId;
	/**成本*/
	@Excel(name = "成本", width = 15)
    @ApiModelProperty(value = "成本")
    private java.math.BigDecimal cost;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal amount;
	/**平方*/
	@Excel(name = "平方", width = 15)
    @ApiModelProperty(value = "平方")
    private java.math.BigDecimal square;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
	private java.lang.String name;
	/**父ID*/
	@Excel(name = "父ID", width = 15)
    @ApiModelProperty(value = "父ID")
	private java.lang.String pid;
	/**订单ID*/
	@Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
	private java.lang.String orderId;
	/**工序ID*/
	@Excel(name = "工序ID", width = 15)
    @ApiModelProperty(value = "工序ID")
	private java.lang.String procedureId;
	/**涂胶位置*/
	@Excel(name = "涂胶位置", width = 15)
    @ApiModelProperty(value = "涂胶位置")
    private java.lang.String gluePosition;
	/**卷向*/
	@Excel(name = "卷向", width = 15)
    @ApiModelProperty(value = "卷向")
    private java.lang.String rollDirect;
	/**是否印字*/
	@Excel(name = "是否印字", width = 15)
    @ApiModelProperty(value = "是否印字")
    private java.lang.String isPrint;
	/**检验员*/
	@Excel(name = "检验员", width = 15)
    @ApiModelProperty(value = "检验员")
    private java.lang.String inspector;
	/**克数*/
	@Excel(name = "克数", width = 15)
    @ApiModelProperty(value = "克数")
	private java.lang.String grams;
	/**面层*/
	@Excel(name = "面层", width = 15)
    @ApiModelProperty(value = "面层")
	private java.lang.String surfaceLayer;
	/**机器*/
	@Excel(name = "机器", width = 15)
    @ApiModelProperty(value = "机器")
	private java.lang.String machine;
	/** 配方*/
	private java.lang.String formulaId;
	/** 备注*/
	private java.lang.String remark;
	/** 价格*/
	@TableField(exist = false)
	private java.math.BigDecimal settlePrice;
	//刀数
	private Integer knifeNum;
	//客户信息
	private String customerId;
	//张数
	private java.math.BigDecimal pageNum;
	//代加工单ID
	private String processingId;
	/**标签*/
    @ApiModelProperty(value = "标签")
	private String labelId;
}
